import { ESObjectsManager, ESViewer } from "earthsdk3";
import { Event, react } from "xbsj-base";
export default class MyESObjectsManager extends ESObjectsManager {
    constructor(...args: any[]) {
        super(...args);
    }

    private _viewerSwitchEvent = this.dv(new Event<['czm' | 'ue']>());
    get viewerSwitchEvent() { return this._viewerSwitchEvent; }

    private _showTree = this.dv(react(false));
    set showTree(value) { this._showTree.value = value; }
    get showTree() { return this._showTree.value; }
    get showTreeChanged() { return this._showTree.changed; }
}
